package com.oocl.task0724.pojo;

import java.util.Arrays;
import java.util.Date;

public class User {
	private Integer id;
	private String username;
	private Double salary;
	private Date birth;
	private Boolean isMale;
	private byte[] headImg;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public Double getSalary() {
		return salary;
	}
	public void setSalary(Double salary) {
		this.salary = salary;
	}
	public Date getBirth() {
		return birth;
	}
	public void setBirth(Date birth) {
		this.birth = birth;
	}
	public Boolean getIsMale() {
		return isMale;
	}
	public void setIsMale(Boolean isMale) {
		this.isMale = isMale;
	}
	public byte[] getHeadImg() {
		return headImg;
	}
	public void setHeadImg(byte[] headImg) {
		this.headImg = headImg;
	}
	@Override
	public String toString() {
		return "User [id=" + id + ", username=" + username + ", salary="
				+ salary + ", birth=" + birth + ", isMale=" + isMale
				+ ", headImg=" + Arrays.toString(headImg) + "]";
	}
	
}
